// pages/index6/index6.js
Page({
  onTap() {
    // 跳转到index7
    wx.navigateTo({ url: "/pages/index7/index7" });
  },
  goTabbar() {
    // 跳转到index7
    wx.switchTab({ url: "/pages/index/index" });
  },

  onLoad() {
    // getCurrentPages获取当前应用的历史访问记录
    const pages = getCurrentPages();
    console.log("pages6 -----> ", pages);
  },
});
